package com.gwtgeo.ui.shared.event;

import com.google.gwt.event.shared.GwtEvent;
import com.gwtgeo.ui.client.mvp.windowsmanager.WindowTypeEnum;

public class HideViewEvent extends GwtEvent<HideViewEventHandler>{

	public static Type<HideViewEventHandler> TYPE = new Type<HideViewEventHandler>();
	
	private WindowTypeEnum type;
	
	public HideViewEvent() {
		super();
	}

	@Override
	protected void dispatch(HideViewEventHandler handler) {
		handler.onHideView(this);
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<HideViewEventHandler> getAssociatedType() {
		return TYPE;
	}

	public static Type<HideViewEventHandler> getTYPE() {
		return TYPE;
	}

	public WindowTypeEnum getType() {
		return type;
	}
}
